package com.yonyou.gmmc.service.dealer.dao;

import org.apache.ibatis.annotations.Param;

import com.yonyou.gmmc.common.annotation.OracleDb;
import com.yonyou.gmmc.service.dealer.model.TmPosition;

import tk.mybatis.mapper.common.Mapper;

@OracleDb
public interface TmPositionMapper extends Mapper<TmPosition> {
    
    public String selectPositionByName(@Param("position") String position);

    public String selectRelationByUserId(@Param("userId") String userId);
    
    public int insertRelation(@Param("userId") String userId,@Param("position") String position);
    
}